package cn.bisoft.java.bean.entity;

import java.io.Serializable;



/**
 * This is an object that contains data related to the AnteFrontPayDetailReport table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 *
 * @hibernate.class
 *  table="AnteFrontPayDetailReport"
 */

public abstract class BaseAnteFrontPayDetailReport  implements Serializable {
	private static final long serialVersionUID = 1L;
	public static String REF = "AnteFrontPayDetailReport";
	public static String PROP_OPERATE_TIME = "OperateTime";
	public static String PROP_VAL_BASE_MONEY = "ValBaseMoney";
	public static String PROP_DRAW_MONEY = "DrawMoney";
	public static String PROP_FILL_MONEY = "FillMoney";
	public static String PROP_VAL_PRICE_MONEY = "ValPriceMoney";
	public static String PROP_ANTE_MONEY = "AnteMoney";
	public static String PROP_PRESENT_MONEY = "PresentMoney";
	public static String PROP_REPORT_ID = "ReportId";
	public static String PROP_STRIKE_MONEY = "StrikeMoney";
	public static String PROP_PRICE_MONEY = "PriceMoney";
	public static String PROP_DRAW_FAILD_MONEY = "DrawFaildMoney";
	public static String PROP_ANTE_FAILD_MONEY = "AnteFaildMoney";
	public static String PROP_REPORT_DATE = "ReportDate";
	public static String PROP_FREEZE_MONEY = "FreezeMoney";
	public static String PROP_VAL_PRESENT_MONEY = "ValPresentMoney";
	public static String PROP_RECV_PRESENT_MONEY = "RecvPresentMoney";
	public static String PROP_COUNTER_ID = "CounterId";
	public static String PROP_THAW_MONEY = "ThawMoney";


	// constructors
	public BaseAnteFrontPayDetailReport () {
		initialize();
	}

	/**
	 * Constructor for primary key
	 */
	public BaseAnteFrontPayDetailReport (java.lang.Integer reportId) {
		this.setReportId(reportId);
		initialize();
	}

	/**
	 * Constructor for required fields
	 */
	public BaseAnteFrontPayDetailReport (
		java.lang.Integer reportId,
		java.lang.String counterId,
		java.lang.Integer anteMoney,
		java.lang.Integer anteFaildMoney,
		java.lang.Integer priceMoney,
		java.lang.Integer fillMoney,
		java.lang.Integer drawMoney,
		java.lang.Integer drawFaildMoney,
		java.lang.Integer strikeMoney,
		java.lang.Integer presentMoney,
		java.lang.Integer recvPresentMoney,
		java.lang.Integer freezeMoney,
		java.lang.Integer thawMoney,
		java.lang.String reportDate,
		java.util.Date operateTime) {

		this.setReportId(reportId);
		this.setCounterId(counterId);
		this.setAnteMoney(anteMoney);
		this.setAnteFaildMoney(anteFaildMoney);
		this.setPriceMoney(priceMoney);
		this.setFillMoney(fillMoney);
		this.setDrawMoney(drawMoney);
		this.setDrawFaildMoney(drawFaildMoney);
		this.setStrikeMoney(strikeMoney);
		this.setPresentMoney(presentMoney);
		this.setRecvPresentMoney(recvPresentMoney);
		this.setFreezeMoney(freezeMoney);
		this.setThawMoney(thawMoney);
		this.setReportDate(reportDate);
		this.setOperateTime(operateTime);
		initialize();
	}

	protected void initialize () {}



	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.Integer reportId;

	// fields
	private java.lang.String counterId;
	private java.lang.Integer anteMoney;
	private java.lang.Integer anteFaildMoney;
	private java.lang.Integer priceMoney;
	private java.lang.Integer fillMoney;
	private java.lang.Integer drawMoney;
	private java.lang.Integer drawFaildMoney;
	private java.lang.Integer strikeMoney;
	private java.lang.Integer presentMoney;
	private java.lang.Integer recvPresentMoney;
	private java.lang.Integer freezeMoney;
	private java.lang.Integer thawMoney;
	private java.lang.String reportDate;
	private java.util.Date operateTime;
	private java.lang.Long valBaseMoney;
	private java.lang.Long valPriceMoney;
	private java.lang.Long valPresentMoney;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="native"
     *  column="ReportId"
     */
	public java.lang.Integer getReportId () {
		return reportId;
	}

	/**
	 * Set the unique identifier of this class
	 * @param reportId the new ID
	 */
	public void setReportId (java.lang.Integer reportId) {
		this.reportId = reportId;
		this.hashCode = Integer.MIN_VALUE;
	}




	/**
	 * Return the value associated with the column: CounterId
	 */
	public java.lang.String getCounterId () {
		return counterId;
	}

	/**
	 * Set the value related to the column: CounterId
	 * @param counterId the CounterId value
	 */
	public void setCounterId (java.lang.String counterId) {
		this.counterId = counterId;
	}



	/**
	 * Return the value associated with the column: AnteMoney
	 */
	public java.lang.Integer getAnteMoney () {
		return anteMoney;
	}

	/**
	 * Set the value related to the column: AnteMoney
	 * @param anteMoney the AnteMoney value
	 */
	public void setAnteMoney (java.lang.Integer anteMoney) {
		this.anteMoney = anteMoney;
	}



	/**
	 * Return the value associated with the column: AnteFaildMoney
	 */
	public java.lang.Integer getAnteFaildMoney () {
		return anteFaildMoney;
	}

	/**
	 * Set the value related to the column: AnteFaildMoney
	 * @param anteFaildMoney the AnteFaildMoney value
	 */
	public void setAnteFaildMoney (java.lang.Integer anteFaildMoney) {
		this.anteFaildMoney = anteFaildMoney;
	}



	/**
	 * Return the value associated with the column: PriceMoney
	 */
	public java.lang.Integer getPriceMoney () {
		return priceMoney;
	}

	/**
	 * Set the value related to the column: PriceMoney
	 * @param priceMoney the PriceMoney value
	 */
	public void setPriceMoney (java.lang.Integer priceMoney) {
		this.priceMoney = priceMoney;
	}



	/**
	 * Return the value associated with the column: FillMoney
	 */
	public java.lang.Integer getFillMoney () {
		return fillMoney;
	}

	/**
	 * Set the value related to the column: FillMoney
	 * @param fillMoney the FillMoney value
	 */
	public void setFillMoney (java.lang.Integer fillMoney) {
		this.fillMoney = fillMoney;
	}



	/**
	 * Return the value associated with the column: DrawMoney
	 */
	public java.lang.Integer getDrawMoney () {
		return drawMoney;
	}

	/**
	 * Set the value related to the column: DrawMoney
	 * @param drawMoney the DrawMoney value
	 */
	public void setDrawMoney (java.lang.Integer drawMoney) {
		this.drawMoney = drawMoney;
	}



	/**
	 * Return the value associated with the column: DrawFaildMoney
	 */
	public java.lang.Integer getDrawFaildMoney () {
		return drawFaildMoney;
	}

	/**
	 * Set the value related to the column: DrawFaildMoney
	 * @param drawFaildMoney the DrawFaildMoney value
	 */
	public void setDrawFaildMoney (java.lang.Integer drawFaildMoney) {
		this.drawFaildMoney = drawFaildMoney;
	}



	/**
	 * Return the value associated with the column: StrikeMoney
	 */
	public java.lang.Integer getStrikeMoney () {
		return strikeMoney;
	}

	/**
	 * Set the value related to the column: StrikeMoney
	 * @param strikeMoney the StrikeMoney value
	 */
	public void setStrikeMoney (java.lang.Integer strikeMoney) {
		this.strikeMoney = strikeMoney;
	}



	/**
	 * Return the value associated with the column: PresentMoney
	 */
	public java.lang.Integer getPresentMoney () {
		return presentMoney;
	}

	/**
	 * Set the value related to the column: PresentMoney
	 * @param presentMoney the PresentMoney value
	 */
	public void setPresentMoney (java.lang.Integer presentMoney) {
		this.presentMoney = presentMoney;
	}



	/**
	 * Return the value associated with the column: PresentMoney
	 */
	public java.lang.Integer getRecvPresentMoney () {
		return recvPresentMoney;
	}

	/**
	 * Set the value related to the column: PresentMoney
	 * @param recvPresentMoney the PresentMoney value
	 */
	public void setRecvPresentMoney (java.lang.Integer recvPresentMoney) {
		this.recvPresentMoney = recvPresentMoney;
	}



	/**
	 * Return the value associated with the column: FreezeMoney
	 */
	public java.lang.Integer getFreezeMoney () {
		return freezeMoney;
	}

	/**
	 * Set the value related to the column: FreezeMoney
	 * @param freezeMoney the FreezeMoney value
	 */
	public void setFreezeMoney (java.lang.Integer freezeMoney) {
		this.freezeMoney = freezeMoney;
	}



	/**
	 * Return the value associated with the column: ThawMoney
	 */
	public java.lang.Integer getThawMoney () {
		return thawMoney;
	}

	/**
	 * Set the value related to the column: ThawMoney
	 * @param thawMoney the ThawMoney value
	 */
	public void setThawMoney (java.lang.Integer thawMoney) {
		this.thawMoney = thawMoney;
	}



	/**
	 * Return the value associated with the column: ReportDate
	 */
	public java.lang.String getReportDate () {
		return reportDate;
	}

	/**
	 * Set the value related to the column: ReportDate
	 * @param reportDate the ReportDate value
	 */
	public void setReportDate (java.lang.String reportDate) {
		this.reportDate = reportDate;
	}



	/**
	 * Return the value associated with the column: OperateTime
	 */
	public java.util.Date getOperateTime () {
		return operateTime;
	}

	/**
	 * Set the value related to the column: OperateTime
	 * @param operateTime the OperateTime value
	 */
	public void setOperateTime (java.util.Date operateTime) {
		this.operateTime = operateTime;
	}



	/**
	 * Return the value associated with the column: ValBaseMoney
	 */
	public java.lang.Long getValBaseMoney () {
		return valBaseMoney;
	}

	/**
	 * Set the value related to the column: ValBaseMoney
	 * @param valBaseMoney the ValBaseMoney value
	 */
	public void setValBaseMoney (java.lang.Long valBaseMoney) {
		this.valBaseMoney = valBaseMoney;
	}



	/**
	 * Return the value associated with the column: ValPriceMoney
	 */
	public java.lang.Long getValPriceMoney () {
		return valPriceMoney;
	}

	/**
	 * Set the value related to the column: ValPriceMoney
	 * @param valPriceMoney the ValPriceMoney value
	 */
	public void setValPriceMoney (java.lang.Long valPriceMoney) {
		this.valPriceMoney = valPriceMoney;
	}



	/**
	 * Return the value associated with the column: ValPresentMoney
	 */
	public java.lang.Long getValPresentMoney () {
		return valPresentMoney;
	}

	/**
	 * Set the value related to the column: ValPresentMoney
	 * @param valPresentMoney the ValPresentMoney value
	 */
	public void setValPresentMoney (java.lang.Long valPresentMoney) {
		this.valPresentMoney = valPresentMoney;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof AnteFrontPayDetailReport)) return false;
		else {
			AnteFrontPayDetailReport anteFrontPayDetailReport = (AnteFrontPayDetailReport) obj;
			if (null == this.getReportId() || null == anteFrontPayDetailReport.getReportId()) return false;
			else return (this.getReportId().equals(anteFrontPayDetailReport.getReportId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getReportId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getReportId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}